package cn.ym.org.service;

import cn.ym.org.domain.Shop;
import cn.ym.basic.service.BaseService;
import cn.ym.org.domain.ShopAuditLog;
import cn.ym.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ym
 * @since 2022-11-01
 */
public interface IShopService extends BaseService<Shop> {
    //商家入驻接口
    void settlement(Shop shop);
    //审核通过
    void pass(ShopAuditLog log) throws MessagingException;
    //审核驳回
    void reject(ShopAuditLog log) throws MessagingException;
    //图形列表
    List<ShopDto> echarts();
    //店铺激活
    String active(Long id);
}
